<%@page import="com.AAL.Model.WheelDetail"%>
<%@page import="java.util.List"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jquery-tags" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%
		List<WheelDetail> lstWheelDetail = null;
	if(session.getAttribute("lstWheelDetailForIndex")!=null){
		lstWheelDetail =(List<WheelDetail>) session.getAttribute("lstWheelDetailForIndex");
	}
	%>
<h3 class='pageTitle'>
     <span>Các sản phẩm </span></h3>
 <div class="clear featured">
 	<%
 		if(lstWheelDetail==null || lstWheelDetail.size()==0){
 			%>
 				Khoong co du lieu.
 			<%
 		}else{
 			for(int i=0; i<lstWheelDetail.size(); i+=2){
 				WheelDetail item1 = lstWheelDetail.get(i);
 				WheelDetail item2 = lstWheelDetail.get(i+1);
 			%>
 			 <div class="productTop " style="width: 49%;">
         <div class="borderLeft">
             <div class="borderRight">
                 <div class="borderBottom">
                     <div class="productTopLeft">
                         <div class="productTopRight">
                             <div class="productBottomLeft">
                                 <div class="productBottomRight">
                                     <div class="width">
                                         <div class="product_name_container">
                                             <a class="product_name" title="Axe Hiro Black" href="#"><%=item1.getWheelDetailID() %> </a>
                                         </div>
                                         <div class="borderTop2">
                                             <div class="borderLeft2">
                                                 <div class="borderRight2">
                                                     <div class="borderBottom2">
                                                         <div class="productTopLeft2">
                                                             <div class="productBottomLeft2">
                                                                 <div class="productTopRight2">
                                                                     <div class="productBottomRight2">
                                                                         <div class="width">
                                                                             <a title="Axe Hiro Black" href="#">
                                                                                 <img src="http://osc.template-help.com/virtuemart_27333/components/com_virtuemart/shop_image/product/resized/Product07_resized.jpg"
                                                                                     height="160" width="227" class="browseProductImage" border="0" alt="Axe Hiro Black" /></a>
                                                                         </div>
                                                                     </div>
                                                                 </div>
                                                             </div>
                                                         </div>
                                                     </div>
                                                 </div>
                                             </div>
                                         </div>
                                         <div class="borderTop3">
                                             <div class="borderLeft2">
                                                 <div class="borderRight2">
                                                     <div class="borderBottom2">
                                                         <div class="productTopLeft2">
                                                             <div class="productBottomLeft2">
                                                                 <div class="productTopRight2">
                                                                     <div class="productBottomRight3">
                                                                         <div class="width">
                                                                             <div class="rght">
                                                                                 <div class="indent">
                                                                                 	<a class="linkaddtocart_button chitiet" href="Dealer_wheelDetail?w=<%=item1.getWheelDetailID()  %>">Chi tiết </a><!--
                                                                                     Price:<br />
                                                                                     <span class="productPrice">$208.53 </span>
                                                                                 --></div>
                                                                             </div>
                                                                             <div class="lft">
                                                                                 <div class="indent">
                                                                                     <!--<a class="product_details fea" href="productDetail.jsp">details </a>
                                                                                     -->
                                                                                     <a class="linkaddtocart_button" href="productDetail.jsp">Bỏ vào giỏ </a>
                                                                                     <!--<form action="#" method="post" name="addtocart" id="addtocart0" class="addtocart_form">
                                                                                     
                                                                                     <input type="submit" class="addtocart_button" value="Add to Cart" title="Add to Cart" />
                                                                                    
                                                                                     </form>
                                                                                 --></div>
                                                                             </div>
                                                                         </div>
                                                                     </div>
                                                                 </div>
                                                             </div>
                                                         </div>
                                                     </div>
                                                 </div>
                                             </div>
                                         </div>
                                     </div>
                                 </div>
                             </div>
                         </div>
                     </div>
                 </div>
             </div>
         </div>
     </div>
     <div class="productTop null" style="width: 49%;">
         <div class="borderLeft">
             <div class="borderRight">
                 <div class="borderBottom">
                     <div class="productTopLeft">
                         <div class="productTopRight">
                             <div class="productBottomLeft">
                                 <div class="productBottomRight">
                                     <div class="width">
                                         <div class="product_name_container">
                                             <a class="product_name" title="Axe AP20 Spike" href="#"><%=item2.getWheelDetailID() %> </a>
                                         </div>
                                         <div class="borderTop2">
                                             <div class="borderLeft2">
                                                 <div class="borderRight2">
                                                     <div class="borderBottom2">
                                                         <div class="productTopLeft2">
                                                             <div class="productBottomLeft2">
                                                                 <div class="productTopRight2">
                                                                     <div class="productBottomRight2">
                                                                         <div class="width">
                                                                             <a title="Axe AP20 Spike" href="#">
                                                                                 <img src="http://osc.template-help.com/virtuemart_27333/components/com_virtuemart/shop_image/product/resized/Product15_resized.jpg"
                                                                                     height="160" width="227" class="browseProductImage" border="0" alt="Axe AP20 Spike" /></a>
                                                                         </div>
                                                                     </div>
                                                                 </div>
                                                             </div>
                                                         </div>
                                                     </div>
                                                 </div>
                                             </div>
                                         </div>
                                         <div class="borderTop3">
                                             <div class="borderLeft2">
                                                 <div class="borderRight2">
                                                     <div class="borderBottom2">
                                                         <div class="productTopLeft2">
                                                             <div class="productBottomLeft2">
                                                                 <div class="productTopRight2">
                                                                     <div class="productBottomRight3">
                                                                         <div class="width">
                                                                             <div class="rght">
                                                                                 <div class="indent">
                                                                                 	<a class="linkaddtocart_button chitiet" href="Dealer_wheelDetail?w=<%=item2.getWheelDetailID()  %>"">Chi tiết</a><!--
                                                                                     Price:<br />
                                                                                     <span class="productPrice">$208.53 </span>
                                                                                 --></div>
                                                                             </div>
                                                                             <div class="lft">
                                                                                 <div class="indent">
                                                                                     <!--<a class="product_details fea" href="productDetail.jsp">details </a>
                                                                                     -->
                                                                                     <a class="linkaddtocart_button" href="productDetail.jsp">Bỏ vào giỏ</a>
                                                                                     <!--<form action="#" method="post" name="addtocart" id="addtocart0" class="addtocart_form">
                                                                                     
                                                                                     <input type="submit" class="addtocart_button" value="Add to Cart" title="Add to Cart" />
                                                                                    
                                                                                     </form>
                                                                                 --></div>
                                                                             </div>
                                                                         </div>
                                                                     </div>
                                                                 </div>
                                                             </div>
                                                         </div>
                                                     </div>
                                                 </div>
                                             </div>
                                         </div>
                                     </div>
                                 </div>
                             </div>
                         </div>
                     </div>
                 </div>
             </div>
         </div>
     </div>
     <br style="clear: both;" />
 			<%
 			}
 		}
 	%>
 	</div>